package main.java.com.blog.dao;

import com.blog.entity.Info;

import java.util.List;

public interface InfoMapper {
    int deleteByPrimaryKey(Integer infoId);

    int insert(Info record);

    int insertSelective(Info record);

    Info selectByPrimaryKey(Integer infoId);

    Info selectByName(String name);

    List<Info> selectAll();

    int updateByPrimaryKeySelective(Info record);

    int updateByPrimaryKey(Info record);

    int updateByName(Info info);
}